package archer.framework.common.repository.support.ebean;

import archer.framework.security.utils.SubjectUtils;

/**
 * @author kent
 * @date 16/7/7.
 */
public class CurrentUserProvider implements com.avaje.ebean.config.CurrentUserProvider {

    @Override
    public Object currentUser() {

        return SubjectUtils.getCurrentUserId();
    }
}
